package com.zhaotianhao.servicecart.api;

import com.zhaotianhao.servicecart.dto.CartDto;
import com.zhaotianhao.servicecart.vo.SkuVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @Author Z-7
 * @Date 2022/4/29
 */
@FeignClient(name = "service-product",path = "/sku")
public interface ProductApi {
    @PostMapping("/getCartSkuInfoByIds")
    public List<SkuVo> getCartSkuInfoByIds(@RequestBody CartDto cartDto);
}
